package com.hut.mst.dao;

import com.hut.mst.pojo.Student;
import com.hut.mst.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @Author: 秃头不用洗发水
 * @Date: 2021-04-01
 * @Description:
 */
@Repository
public interface StudentMapper {
    /**
     * 保存学生信息
     * @param student
     * @return
     */
    Student saveStudentBySid(Student student);

    /**
     * 更新学生信息
     * @param student
     * @return
     */
    Student updateStudentBySid(Student student);

    /**
     * 获取学生信息
     * @param sid
     * @return
     */
    Student getStudentInfo(Integer sid);
}
